package com.k7k7.db.abs;

import java.io.Serializable;

/**
 * User: Administrator
 * Date: 2009-4-23
 * Time: 10:18:41
 */
public abstract class Facility implements Serializable {
	private Long id;
	private String name;
	private Boolean canTrade_With_User;//能否与用户交易
	private Boolean canTrade_With_System;//能否与系统交易
	private Float buyPrice;//买入价格
	private Float sellPrice;//卖出价格
	private Integer usefulLife;//有效期

	protected Facility() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Float getBuyPrice() {
		return buyPrice;
	}

	public void setBuyPrice(Float buyPrice) {
		this.buyPrice = buyPrice;
	}

	public Integer getUsefulLife() {
		return usefulLife;
	}

	public void setUsefulLife(Integer usefulLife) {
		this.usefulLife = usefulLife;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Float getSellPrice() {
		return sellPrice;
	}

	public void setSellPrice(Float sellPrice) {
		this.sellPrice = sellPrice;
	}

	public Boolean isCanTrade_With_User() {
		return canTrade_With_User;
	}

	public void setCanTrade_With_User(Boolean canTrade_With_User) {
		this.canTrade_With_User = canTrade_With_User;
	}

	public Boolean isCanTrade_With_System() {
		return canTrade_With_System;
	}

	public void setCanTrade_With_System(Boolean canTrade_With_System) {
		this.canTrade_With_System = canTrade_With_System;
	}
}
